Configure a tagged port to discard all untagged packets so that the frame is not classified into the default VLAN for the port.
default untagged-frames-discard
default untagged-frames-discard port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}
no untagged-frames-discard
no untagged-frames-discard port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}
untagged-frames-discard
untagged-frames-discard port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}
Identifies the slot and port in one of the following formats:
a single slot and port (slot/port)
a range of slots and ports (slot/port-slot/port)
a series of slots and ports (slot/port,slot/port,slot/port)
all ports on the same slot (slot/all)
all ports on the switch (all)
None
GigabitEthernet Interface Configuration